package com.bonc.apim.entity;

import java.util.Date;

/**
 * @Author ：wjx.
 * @Date ：Created in 15:24 2018/11/27
 * @Description：
 * @Modified By：
 * @Version ：
 */
public class CardQuota {

    /**
     * 卡级限额id
     */
    private Integer quotaId;

    /**
     * {"perDay": -1,"perWeek": 5000,"perMonth": -1,"totalCount": 10000}
     */
    private String quotaJson;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * API提供者
     */
    private String providerName;

    /**
     * API名称
     */
    private String apiName;

    /**
     * API版本
     */
    private String version;

    /**
     * api订阅者
     */
    private String subscriber;

    /**
     * 订阅者租户id
     */
    private String subTenantId;

    /**
     * 应用id
     */
    private String applicationId;

    /**
     * 应用name
     */
    private String applicationName;

    public Integer getQuotaId() {
        return quotaId;
    }

    public void setQuotaId(Integer quotaId) {
        this.quotaId = quotaId;
    }

    public String getQuotaJson() {
        return quotaJson;
    }

    public void setQuotaJson(String quotaJson) {
        this.quotaJson = quotaJson;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSubscriber() {
        return subscriber;
    }

    public void setSubscriber(String subscriber) {
        this.subscriber = subscriber;
    }

    public String getSubTenantId() {
        return subTenantId;
    }

    public void setSubTenantId(String subTenantId) {
        this.subTenantId = subTenantId;
    }

    public String getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(String applicationId) {
        this.applicationId = applicationId;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    @Override
    public String toString() {
        return "CardQuota{" +
                "quotaId=" + quotaId +
                ", quotaJson='" + quotaJson + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", providerName='" + providerName + '\'' +
                ", apiName='" + apiName + '\'' +
                ", version='" + version + '\'' +
                ", subscriber='" + subscriber + '\'' +
                ", subTenantId='" + subTenantId + '\'' +
                ", applicationId='" + applicationId + '\'' +
                ", applicationName='" + applicationName + '\'' +
                '}';
    }
}

